<?PHP
class Controller extends Object {
	public $vars;
	public $path;
	public $view;
	public function __construct() {
		$this->view = new View(&$this);
	}
	public function set($var,$val) {
		$this->vars[$var] = $val;
	}
	public function get($var) {
		return @$this->vars[$var];
	}
	public function actionExists() {
		return false;
	}
	public function __callAction($action) {
		return false;
	}
	public function render($view=null,$layout=null) {
		return $this->view->render($view,$layout);
	}
	public function index() {
	}
}
?>